package eteam.aps.model.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 已扫描工序;已扫描工序
 *
 * @author LiuLei
 */
@ApiModel(value = "ScanProAlreadyDelDto", description = "已扫描工序")
public class ScanProDto {

    /**
     * 内码
     */
    @ApiModelProperty(name = "内码", notes = "内码")
    private String fId;

    /**
     * 产品编号;产品编号
     */
    @ApiModelProperty(name = "产品条码", notes = "产品条码")
    private String fBarCode;

    /**
     * 工序编号;工序编号
     */
    @ApiModelProperty(name = "工序编号", notes = "工序编号")
    private String fScaPro;

    /**
     * 工序名称;工序名称
     */
    @ApiModelProperty(name = "工序名称", notes = "工序名称")
    private String fProName;

    /**
     * 物料编号;品号
     */
    @ApiModelProperty(name = "物料编号", notes = "品号")
    private String fInvCode;

    /**
     * 物料条码;物料条码
     */
    @ApiModelProperty(name = "物料条码", notes = "物料条码")
    private String fInvBarCode;

    /**
     * 最近修改人---外键，关联 system模块的 user 的 fuserid
     */
    @JsonIgnore
    private String fLastModifyUserId;

    /**
     * 修改时间 not null， 默认是 创建时间 用于 时间排序
     */
    @JsonIgnore
    private LocalDateTime fLastModifyTime;

    public String getfBarCode() {
        return fBarCode;
    }

    public void setfBarCode(String fBarCode) {
        this.fBarCode = fBarCode;
    }

    public String getfScaPro() {
        return fScaPro;
    }

    public void setfScaPro(String fScaPro) {
        this.fScaPro = fScaPro;
    }

    public String getfProName() {
        return fProName;
    }

    public void setfProName(String fProName) {
        this.fProName = fProName;
    }

    public String getfId() {
        return fId;
    }

    public void setfId(String fId) {
        this.fId = fId;
    }

    public String getfInvCode() {
        return fInvCode;
    }

    public void setfInvCode(String fInvCode) {
        this.fInvCode = fInvCode;
    }

    public String getfLastModifyUserId() {
        return fLastModifyUserId;
    }

    public void setfLastModifyUserId(String fLastModifyUserId) {
        this.fLastModifyUserId = fLastModifyUserId;
    }

    public LocalDateTime getfLastModifyTime() {
        return fLastModifyTime;
    }

    public void setfLastModifyTime(LocalDateTime fLastModifyTime) {
        this.fLastModifyTime = fLastModifyTime;
    }

    public String getfInvBarCode() {
        return fInvBarCode;
    }

    public void setfInvBarCode(String fInvBarCode) {
        this.fInvBarCode = fInvBarCode;
    }
}